<template>
  <div class="goodsList">
      <!-- <div v-for="(item,index) in goods" :key="index">
          <img :src="item.goods_small_logo" alt="">
      </div> -->
      <goods-item v-for="(item,index) in goods" :key="index" :goodsItem='item'/>
  </div>
</template>

<script>
import GoodsItem from '@/components/content/goods/GoodsItem'
export default {
    name:'GoodsList',
    components:{
        GoodsItem
    },
    props:{
        goods:{
            type:Array,
            default(){
                return []
            }
        }
        
    },
    created(){
        console.log(this.goods);
    }
}
</script>

<style lang='scss' scoped>
.goodsList{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 3px;
    background-color: #eee;
    padding-bottom: 50px;
}
</style>